package com.czm.art_light.mapper;

import com.czm.art_light.entity.ArtUserSearchHistory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 历史搜索信息 Mapper 接口
 */
@Mapper
public interface ArtUserSearchHistoryMapper {
    /**
     * 热门搜索记录前10条
     */
    List<String> getHotSearchHistory();

    /**
     * 添加搜索记录
     */
    void insert(ArtUserSearchHistory artUserSearchHistory);
}
